#include "CollisionData.h"

using namespace PHYOgre;

CollisionData::CollisionData(int iMaxContactNum)
{
	mLength = 0;
	mMaxContactNum = iMaxContactNum;
	mContactListPtr = new Contact[iMaxContactNum];
}


CollisionData::~CollisionData(void)
{
	delete [] mContactListPtr;
}

void CollisionData::Clear()
{
	mLength = 0;
}
bool CollisionData::HasMoreSpace()
{
	return mLength < mMaxContactNum;
}

